package com.wwp.tbshop.model.bean;

import java.util.List;

/**
 * Created by user on 2017/6/15.
 */

public class OrderListItemDetailBean extends OrderListBaseBean{


    /**
     * addressInfo : {"addressArea":"洪山区","addressDetail":"街道口地铁c口","id":139,"name":"itcast"}
     * checkoutAddup : {"freight":10,"totalCount":5,"totalPoint":30,"totalPrice":1250}
     * deliveryInfo : {"type":"1"}
     * invoiceInfo : {"invoiceContent":"1","invoiceTitle":"传智慧播客教育科技有限公司"}
     * orderInfo : {"flag":2,"orderId":"574531","status":"正在处理中","time":"1497495574704"}
     * paymentInfo : {"type":1}
     * productList : [{"prodNum":3,"product":{"id":1,"name":"韩版时尚蕾丝裙","pic":"/images/product/detail/c3.jpg","price":350,"productProperty":[{"id":0,"k":"颜色","v":"红色"},{"id":1,"k":"颜色","v":"绿色"}]}},{"prodNum":2,"product":{"id":2,"name":"粉色毛衣","pic":"/images/product/detail/q1.jpg","price":100,"productProperty":[{"id":0,"k":"颜色","v":"绿色"},{"id":1,"k":"尺码","v":"M"}]}}]
     * prom : ["促销信息一","促销信息二"]
     */

    public AddressInfoBean addressInfo;
    public CheckoutAddupBean checkoutAddup;
    public DeliveryInfoBean deliveryInfo;
    public InvoiceInfoBean invoiceInfo;
    public OrderInfoBean orderInfo;
    public PaymentInfoBean paymentInfo;
    public List<ProductListBean> productList;
    public List<String> prom;

    public static class AddressInfoBean {
        /**
         * addressArea : 洪山区
         * addressDetail : 街道口地铁c口
         * id : 139
         * name : itcast
         */

        public String addressArea;
        public String addressDetail;
        public int id;
        public String name;
    }

    public static class CheckoutAddupBean {
        /**
         * freight : 10
         * totalCount : 5
         * totalPoint : 30
         * totalPrice : 1250
         */

        public int freight;
        public int totalCount;
        public int totalPoint;
        public int totalPrice;
    }

    public static class DeliveryInfoBean {
        /**
         * type : 1
         */

        public String type;
    }

    public static class InvoiceInfoBean {
        /**
         * invoiceContent : 1
         * invoiceTitle : 传智慧播客教育科技有限公司
         */

        public String invoiceContent;
        public String invoiceTitle;
    }

    public static class OrderInfoBean {
        /**
         * flag : 2
         * orderId : 574531
         * status : 正在处理中
         * time : 1497495574704
         */

        public int flag;
        public String orderId;
        public String status;
        public String time;
    }

    public static class PaymentInfoBean {
        /**
         * type : 1
         */

        public int type;
    }

    public static class ProductListBean {
        /**
         * prodNum : 3
         * product : {"id":1,"name":"韩版时尚蕾丝裙","pic":"/images/product/detail/c3.jpg","price":350,"productProperty":[{"id":0,"k":"颜色","v":"红色"},{"id":1,"k":"颜色","v":"绿色"}]}
         */

        public int prodNum;
        public ProductBean product;

        public static class ProductBean {
            /**
             * id : 1
             * name : 韩版时尚蕾丝裙
             * pic : /images/product/detail/c3.jpg
             * price : 350
             * productProperty : [{"id":0,"k":"颜色","v":"红色"},{"id":1,"k":"颜色","v":"绿色"}]
             */

            public int id;
            public String name;
            public String pic;
            public int price;
            public List<ProductPropertyBean> productProperty;

            public static class ProductPropertyBean {
                /**
                 * id : 0
                 * k : 颜色
                 * v : 红色
                 */

                public int id;
                public String k;
                public String v;
            }
        }
    }
}
